import { get } from '@/utils/http/request';

export interface energyData {
    name: string,
    data: number[]
}

export function getDashboardApi(){
    return get<energyData[]>('/api/energyData');
}